﻿<%@ Page Language="C#" MasterPageFile="~/Publish/Content.master" AutoEventWireup="true"
    CodeFile="ProductDetail.aspx.cs" Inherits="Publish_ProductDetail" Theme="Green" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphYouAreHere" runat="Server">
    <a href="Product.aspx">Sản phẩm</a><span>&raquo;</span><%=m_title %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphFunction" runat="Server">
    fashion
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphPageTitle" runat="Server">
    Thông tin sản phẩm
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphContent" runat="Server">

    <script language="JavaScript" src="../scripts/dbtt.js" type="text/javascript"></script>

    <table class="showdetail">
        <tr>
            <td>
                <%=m_detail %>
            </td>
        </tr>
    </table>
    <asp:Repeater ID="rptComment" runat="server" EnableViewState="false">
        <HeaderTemplate>
            <hr style="width: 90%;" />
            <h3 class="other">
                Nhận xét sản phẩm</h3>
            <ul id="comment">
        </HeaderTemplate>
        <ItemTemplate>
            <li>
                <%# BindComment(Eval("Fullname"), Eval("Email"), Eval("IsEmail"), Eval("CreatedDate"), Eval("Title"), Eval("Content"))%></li></ItemTemplate>
        <FooterTemplate>
            </ul></FooterTemplate>
    </asp:Repeater>
    <hr style="width: 90%;" />
    <h3 class="other">
        Sản phẩm cùng danh mục</h3>
    <asp:DataList ID="lstProduct" runat="server" CssClass="aligncenter" CellSpacing="4"
        RepeatColumns="6" ShowFooter="False" ShowHeader="False">
        <ItemTemplate>
            <%# BindProduct(DataBinder.Eval(Container.DataItem,"IDProduct").ToString()) %>
        </ItemTemplate>
        <ItemStyle CssClass="aligntopcenter" />
    </asp:DataList>
</asp:Content>
